package be.bonamis.umpire.ui.client.mvp;

import java.util.List;

import be.bonamis.projects.umpire.business.dto.UmpireDTO;

import com.google.gwt.user.client.ui.IsWidget;

public interface WhoView extends IsWidget {

	public interface Presenter {
		void searchUmpires(String text);
		void getUmpireById(long id);
		void dispoButtonClicked();
		void homeButtonClicked();		
		void whoButtonClicked();
		void quizButtonClicked();
		void historyButtonClicked();
	}

	public void setPresenter(Presenter presenter);

	public Presenter getPresenter();

	public void setValues(UmpireDTO umpire);

	public UmpireDTO getUmpire();
	
	public void setUmpire(UmpireDTO dto);

	public void updateUmpireList(List<UmpireDTO> umpiresDTOList);
}
